import { defineConfig } from "@rsbuild/core";
import { pluginReact } from "@rsbuild/plugin-react";
export default defineConfig({
  plugins: [pluginReact()],
  tools: {
    postcss: (opts, { addPlugins }) => {
      const viewportPlugin = require("postcss-px-to-viewport")({
        viewportWidth: 375,
      });
      addPlugins(viewportPlugin);
      // config: false,}
    },
  },
});
